{% load staticfiles %}
<!DOCTYPE html>
<html style="height: 100%; width: 100%;">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title>历史审核</title>
        <link rel="stylesheet" href="{% static 'css/layui.css' %}">
        <link rel="stylesheet" href="{% static 'css/audit.css' %}">
    </head>
    <body>
        <div id="history_dome" class="public_div" style="height: 100%; width: 100%;">
            <div class="demoTable" style="padding-bottom: 10px; float: left;">
                <div style="width: 100px;line-height: 38px; text-align: center; float: left;">发起人 ：</div>
                <div class="layui-inline">
                    <input class="layui-input" name="in_o" id="in_o">
                </div>
                <button id="searcho" class="layui-btn">搜索</button>
            </div>
            <div class="demoTable">
                <div style="width: 100px; line-height: 38px;text-align: center; float: left;">日期范围：</div>
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="datetimes" placeholder=" ">
                    </div>
                </div>
            </div>

{#            <div id="row" class="layui-row">#}
{#                <div class="layui-col-md4">#}
{#                    #}
{#                </div>#}
{#                <div class="layui-col-md8">#}
{#                </div>#}
{#            </div>#}
            <table class="layui-table" id="audit_history" lay-filter="audit_history">
            </table>
        </div>
{#        <div id="dis_back" class="dis-back">#}
        <div  class="dis-check layui-hide">
            <div style="padding: 0 20px;">
                <div id="display" style="height: 100%;width: 100%;">
                    <div style="text-align: center;font-size: 30px;border-width: 0 0 2px 0; border-style: solid; border-color: black; padding-bottom:6px;margin-bottom:10px">报表</div>
                    <table width="100%" border="1">
                        <tbody>
                            <tr>
                                <td width="20%"></td>
                                <td width="20%"></td>
                                <td width="20%"></td>
                                <td width="20%"></td>
                                <td width="20%"></td>
                            </tr>
                            <tr height="30px">
                                <td class="table-title">发起人</td>
                                <td id="originator" class="table-data">沈湘君</td>
                                <td class="table-title">发起时间</td>
                                <td id="createDate" colspan="2" class="table-data">2017-12-12 17:43:22</td>
                            </tr>
                            <tr height="30px">
                                <td class="table-title">更新项目</td>
                                <td id="item_list" colspan="4" class="table-data">security-web,kafka,臻E盾,security-web,kafka,臻E盾,security-web,kafka,臻E盾,security-web,kafka,臻E盾</td>
                            </tr>
                            <tr id="item_page" height="30px">
                                <td colspan="5" class="table-title">项目详述</td>
                            </tr>

                            <tr height="30px">
                                <td class="table-title">完成总结/时间</td>
                                <td id="describe" colspan="2" class="table-data">正常完成，并未出现其他问题。</td>
                                <td id="completeDate" colspan="2" class="table-data">2017-12-12 18:43:22</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </body>
    <script type="text/javascript">
        var history_data = {{ history_data|safe }};
    </script>
    <script type="text/html" id="historyDemo">
        <a class="layui-btn layui-btn-xs" lay-event="preview">打印</a>
        {% verbatim myblock %}
            {{#  if(d.rule_name != ""){ }}
                <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="rejected_c">驳回查看</a>
            {{#  } }}
        {% endverbatim myblock %}
    </script>
    <script id="demot" type="text/html">
        {% verbatim myblock %}
            <tr class="tr-demot" height="30px">
                <td colspan="5" class="table-title">
                    {{ d.title }}
                </td>
            </tr>
            <tr class="tr-demot" height="30px">
                <td class="table-title">
                    负责人/模块
                </td>
                <td id="{{ d.ionename }}" colspan="2" class="table-data">

                </td>
                <td id="{{ d.itwoname }}" colspan="2" class="table-data">

                </td>
            </tr>
            <tr class="tr-demot" height="30px">
                <td class="table-title">
                    说明/描述
                </td>
                <td id="{{ d.tonename }}" colspan="2" class="table-data">

                </td>
                <td id="{{ d.ttwoname }}" colspan="2" class="table-data">

                </td>
            </tr>
        {% endverbatim myblock %}
    </script>
    <script src="{% static 'layui.all.js' %}"></script>
    <script type="text/javascript">
        layui.config({
            base: 'lib/' //假设这是test.js所在的目录
        });
    </script>
    <script src="{% static 'js/audit/ahistory.js' %}"></script>
</html>